import { AfterViewInit, Component } from '@angular/core';
import { ApiService } from 'src/app/services/api.service';
import { ActivatedRoute } from '@angular/router';
import { ContentHeaderService } from 'src/app/services/content-header.service';

@Component({
  selector: 'app-group',
  templateUrl: './group.component.html',
  styleUrl: './group.component.less'
})
export class GroupComponent implements AfterViewInit {

  index: number = 0;

  constructor(private _route: ActivatedRoute,
    private _api: ApiService,
    private _contentHeader: ContentHeaderService) {

  }
  
  ngAfterViewInit(): void {
    setTimeout(() => {
      this._contentHeader.header.next('分组管理');
    });  
  }
}
